﻿using System;
using System.Text;
namespace UI.WebPage.PageBase
{
    /// <summary>
    /// UI层，页面基类，ashx文件基类
    /// </summary>
    public class AshxBase
    {
        /// <summary>
        /// 字符串格式
        /// </summary>
        public string[] Format = new string[] { 
            "{{\"flag\":\"{0}\",\"message\":\"{1}\"}}"
            , "{{\"flag\":\"{0}\",\"message\":\"{1}\", \"list\":{2} }}"
        };
        /// <summary>
        /// 输出的信息定义
        /// </summary>
        public string Message = string.Empty;
        /// <summary>
        /// 输出字符串
        /// </summary>
        public string Repo = string.Empty;
        /// <summary>
        /// 输出的字符串组
        /// </summary>
        public StringBuilder RepoBuilder = new StringBuilder();
    }
}
